// import Promise from "./promise-6.js";

let p = new Promise((resolve, reject) => {
  reject("ok");
});

p.then(null, (data) => {
  throw data;
})
  .then(null, (data) => {
    throw data;
  })
  .then(null, (err) => {
    console.log(err, 123);
  });
